package com.example.foobar.business.service;

import com.example.foobar.entity.DidiCompany;
import com.example.foobar.entity.DidiPromotion;
import com.example.foobar.param.DidiCompanyPageParam;
import com.example.foobar.param.DidiPromotionPageParam;
import io.geekidea.springbootplus.framework.core.pagination.Paging;

import java.util.List;

/**
 * 分析系统配置文件 服务类
 *
 * @author 郑英奔
 * @since 2021-05-31
 */
public interface DidiPromotionService {
    boolean saveDidiPromotion(DidiPromotion didiPromotion) throws Exception;

    boolean updateDidiPromotion(DidiPromotion didiPromotion) throws Exception;

    boolean deleteDidiPromotion(Long id) throws Exception;

    DidiPromotion getById(Long id);

    Paging<DidiPromotion> getDidiPromotionPageList(DidiPromotionPageParam didiPromotionPageParam) throws Exception;

    List<DidiPromotion> getList();

}
